﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;

/// <summary>
/// 对象池：最小单元 
/// </summary>
public class PoolObject 
{
    //具体对象
    public UnityEngine.Object Object;
    //名称
    public string Name;
    //最后一次使用的时间点
    public DateTime LastUseTime;

    public PoolObject(UnityEngine.Object m_object , string name , System.DateTime date)
    {
        this.Object = m_object;
        this.Name = name;
        this.LastUseTime = System.DateTime.Now; //为什么最后一次使用的时间点，是生成这个对象的时间点？？？
    }
}
